res = alipay.api_alipay_trade_precreate(
    subject="测试",
    out_trade_no="20200617123123",
    total_amount=100
)

#20200617123123

print(res)